package com.telecom.restaurant.enums;

/**
 * Created by qiqi on 2019/12/15.
 */
public enum OrderStatusEnum {

    WAIT_PAY(1),     // 待支付

    WAIT_PICK(3),    // 已支付

    PICK_OVERTIME(4),  // 过期未取餐

    FINISH(10),    // 已取餐

    CANCEL_NOT_PAY(21),  // 过期未支付取消

    CANCEL_MANUALLY(22); // 手动取消


    private int code;

    public int getCode() {
        return code;
    }

    OrderStatusEnum(int code) {
        this.code = code;
    }
}
